<template>
	<view class="conner">
		<view class="gd_top">
			<view class="top">
				<view style="height: 88rpx;"></view>
				<view class="top_ist">
					<view class="top_list_r">
						<view class="top_r_c grey_h_28" v-for="(item,index) in topList" @click.stop="dianji(index)"
							:class="active == index?'top_r_er black_f_28':'top_r_c grey_h_28'">
							<span style="font-weight: 900;">{{item.name}}</span>
						</view>
					</view>
					<image @click.stop="go_view('/pages-1/search/search')" class="t_img"
						:src="url+'/image/search.png'" mode=""></image>
				</view>
			</view>
			<view class="title">
				<view  class="grey_f_28 mar_r_40" v-for="(itm,index) in boList[active]" @click.stop="dianji2(index)"
					:class="bactive == index?'blue_f_32 font_w_bold mar_r_40':'grey_f_28 mar_r_40'">
					<span style="font-weight: 900;">{{itm.text}}</span>
				</view>
			</view>
		</view>
		<view class="bottom" v-show="active == 0"  @click.stop="go_next()">
			<!-- @click.stop="go_next3(item)" -->
			<view class="back bor_bot" v-for="(item,index) in lists" >
				<view class="dis_f_sb_c bor_bot">
					<view class="blue_f_28 blue_f_28"><span style="font-weight: 900;">{{item.rider_status_text}}</span></view>
					<view class="black_s_28">{{item.order_sn}}</view>
				</view>
				<view class="bo_a bor_b_bot">
					<view class="dis_f_sb_c">
						<image class="boa_img" :src="item.specifications[0].product_image" mode="widthFix"></image>
						<view class="bo_a_b">
							<view>
								<view class="slh_one black_f_32 font_w_bold mar_b_8">{{item.specifications[0].name}}</view>
								<view class="dis_f_sb_c">
									<view class="bo_a_text slh_one grey_f_28">{{item.specifications[0].guige}}</view>
									<view class="black_f_28">x{{item.specifications[0].num}}</view>
								</view>
							</view>
							<view class="black_f_28 dis_f_r_c">￥{{item.specifications[0].money}}</view>
						</view>
					</view>
				</view>
				<view class="dis_f_sb_c bor_b_bot">
					<view class="grey_s_24">{{item.createtime}}下单</view>
					<view class="grey_h_28">
						共{{item.specifications.length}}件 合计 <text class="orange_f_32">￥{{item.actual_price}}</text>
					</view>
				</view>
				<view class="bo_d black_f_28 bor_bot">
					<view class="bor_b_16">{{item.consignee}}<text class="mar_l_24">{{item.mobile}}</text></view>
					<view class="font_w_bold">{{item.detailed_address}}</view>
				</view>
				<view class="dis_f_r_c" v-show="bactive==1">
					<view class="bottom_hui dis_f_c_c grey_h_28" @click.stop="lx_show = true">联系买家</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" @click.stop="fh_show = true,order_id=item.id">立即发货</view>
				</view>
				<view class="dis_f_r_c" v-show="bactive==2">
					<!-- <view class="bottom_hui dis_f_c_c grey_h_28" >取消订单</view> -->
					<view class="bottom_hui dis_f_c_c grey_h_28 mar_l_24" @click.stop="ckwl(item.id)">查看物流</view>
					<!-- <view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" @click.stop="fh_show = true">确认收货</view> -->
				</view>
				<view class="dis_f_r_c" v-show="bactive==3">
					<view class="bottom_hui dis_f_c_c grey_h_28" >删除订单</view>
					<!-- <view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" @click.stop="fh_show = true">去评价</view> -->
				</view>
				<view class="dis_f_r_c" v-show="bactive==4">
					<view class="bottom_hui dis_f_c_c grey_h_28" >取消售后</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" >售后详情</view>
				</view>
			</view>
		</view>
		<view class="bottom" v-show="active == 1">
			<view class="back bor_bot" v-for="(item,index) in lists" @click.stop="go_next2(item)">
				<!-- {{item.id}} -->
				<view class="dis_f_sb_c bor_bot">
					<view class="blue_f_28 font_w_bold" v-if="item.is_overtime==0">{{item.rider_status_text}}</view>
					<view class="" style="font-weight: bold;font-size: 28rpx;color: #FF6401;" v-else>
						已超时
					</view>
					<!-- <view class="orange_f_28 font_w_bold" v-show="item.rider_status == 1">{{item.s_lease}}</view> -->
					<view class="black_s_28">{{item.order_sn}}</view>
				</view>
				<view class="bo_a bor_b_bot">
					<view class="dis_f_sb_c">
						<image class="boa_img" :src="item.specifications.product_image" mode="widthFix"></image>
						<view class="bo_a_b">
							<view>
								<view class="dis_f_sb_c mar_b_8">
									<view class="font_w_bold black_f_32">{{item.specifications.license_plate_number}}</view>
									<view class="black_s_28">￥{{item.actual_price}}</view>
								</view>
								<view class="grey_f_28">{{item.lease}}</view>
							</view>
							<view class="dis_f_r_c">
								<view class="grey_h_28 mar_r_16">优惠<text
										class="black_f_28">￥{{item.coupon_price*1}}</text></view>
								<view class="grey_h_28">合计<text
										class="orange_f_28 font_w_bold">￥{{item.actual_price*1}}</text></view>
							</view>
						</view>
					</view>
				</view>
				<view v-show="item.rider_status == 5" class="bo_d bor_bot">
					<text class="orange_f_28">申请原因：</text>
					<text class="black_f_28">{{item.refund_content}}</text>
				</view>
				<view class="dis_f_r_c">
					<view class="bottom_hui dis_f_c_c grey_h_28" v-show="item.rider_status != 3"
						@click.stop="bdphone(item.lease_mobile)">联系买家</view>
					<view class="bottom_hui dis_f_c_c grey_h_28" v-show="item.rider_status == 3"
						@click.stop="del_sub(item)">
						删除订单</view>
					<view class="bottom_hui dis_f_c_c grey_h_28 mar_l_24" v-show="item.rider_status == 5&&item.is_refusal_to_refund == 0"
						@click.stop="dd_show = true,order_id=item.id">
						拒绝退款</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" v-show="item.rider_status==0"
						@click.stop="ti(item.delivery_code)">
						提车码</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" v-show="item.rider_status==1"
						@click.stop="ti(item.return_code)">
						还车码</view>	
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" v-show="item.rider_status==2"
						@click.stop="hu(item.return_code)">还车码</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" v-show="item.rider_status==5&&item.is_refusal_to_refund == 0"
						@click.stop="tk_shows(item)">
						确认退款</view>
				</view>
			</view>
		</view>
		<view class="bottom" v-show="active == 2">
			<view class="back bor_bot" v-for="(item,index) in lists" @click.stop="go_next3(item)">
				<view class="dis_f_sb_c bor_bot">
					<view>
						<text class="black_f_36 font_w_bold mar_r_8">{{item.order_sn}}</text>
						<text class=" black_s_24 mar_r_8">{{item.estimated_delivery_time}}</text>
						<text class="grey_f_24">前送达</text>
					</view>
					<view class="blue_f_28 font_w_bold">{{item.rider_status_text}}</view>
				</view>
				<view class="bo_a bor_b_bot">
					<view class="dis_f_sb_c">
						<image class="boa_img" :src="item.specifications[0].product_image" mode="widthFix"></image>
						<view class="bo_a_b">
							<view>
								<view class="slh_one black_f_32 font_w_bold mar_b_8">{{item.specifications[0].name}}</view>
								<view class="dis_f_sb_c">
									<view class="bo_a_text slh_one grey_f_28">{{item.specifications[0].guige}}</view>
									<view class="black_f_28">x{{item.specifications[0].num}}</view>
								</view>
							</view>
							<view class="black_f_28 dis_f_r_c">￥{{item.specifications[0].money}}</view>
						</view>
					</view>
				</view>
				<view class="dis_f_r_c bor_bot">
					<text class="grey_h_28 mar_r_8">共{{item.specifications.num}}件</text>
					<text class="grey_h_28 mar_r_8">合计</text>
					<text class="orange_f_28 font_w_bold">￥{{item.actual_price}}</text>
				</view>
				<view class="bo_d black_f_28 bor_bot">
					<view class="bor_b_16">{{item.consignee}}<text class="mar_l_24">{{item.mobile}}</text></view>
					<view class="font_w_bold">{{item.detailed_address}}</view>
				</view>
				<view class="bo_d black_f_28 bor_bot">
					<text class="blue_f_28">买家留言：</text>
					<text>{{item.message}}</text>
				</view>
				<view class="grey_h_24 dis_f_r_c bor_bot" v-show="item.sh_show">
					<text>接单员距离您</text><text class="blue_f_24 mar_r_8">2.5km</text>
					<text class="mar_r_8">|</text>
					<text>预计<text class="blue_f_24">5分钟</text>到达</text>
				</view>
				<view class="dis_f_r_c">
					<view class="bottom_hui dis_f_c_c grey_h_28" v-show="item.lxmj_show" @click.stop="lx_show = true">
						联系买家
					</view>
					<view class="bottom_hui dis_f_c_c grey_h_28" v-show="item.lxsf_show" @click.stop="lx_show = true">
						联系师傅
					</view>
					<view class="bottom_hui dis_f_c_c grey_h_28" v-show="item.scdd_show" @click.stop="sc_show = true">
						删除订单
					</view>
					<view class="bottom_hui dis_f_c_c grey_h_28 mar_l_24" v-show="item.jjtk_show"
						@click.stop="dd_show = true">
						拒绝退款</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" v-show="item.ybh_show">已备货</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" v-show="item.alxmj_show">联系买家</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" v-show="item.alxsf_show">联系师傅</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" v-show="item.ckpj_show">查看评价</view>
					<view class="bottom_blue dis_f_c_c white_f_28 mar_l_24" v-show="item.qrtk_show"
						@click.stop="qrtk(item.id)">确认退款</view>
				</view>
			</view>
		</view>
		<!-- <image class="bo_js_er_img" src="../../static/image/zcxian.png" mode=""></image> -->


		<u-popup :show="tk_show" :round="10" mode="center" @close="tk_close">
			<view class="tk_tc">
				<view class="black_f_32 font_w_bold bor_b_48">确认退款</view>
				<view class="bor_b_48">
					<text class="black_f_32 font_w_bold">￥</text>
					<text class="black_f_52 font_w_bold">{{ymoney}}</text>
				</view>
				<view class="bor_b_48 input">
					<u-code-input maxlength="6" fontSize="40rpx" color="#00091A" v-model="value"></u-code-input>
				</view>
				<view class="dis_f_sb_c">
					<view class="but_a black_s_32 font_w_bold mar_r_16" @click.stop="tk_close()">取消</view>
					<view class="but_b white_f_32 font_w_bold" @click="tijiao()">确定</view>
				</view>
			</view>
		</u-popup>
		<u-popup :show="jj_show" :round="10" mode="center" @close="jj_close">
			<view class="tk_tc">
				<view class="black_f_32 font_w_bold bor_b_48">拒绝退款</view>
				<view class="bor_b_48 tk_jj">
					<view class="grey_h_28 mar_b_8">拒绝原因</view>
					<view class="input">
						<u--input placeholder="请填写拒绝原因" border="none" v-model="value1" @change="change"></u--input>
					</view>
				</view>
				<view class="dis_f_sb_c">
					<view class="but_a black_s_32 font_w_bold mar_r_16" @click.stop="jj_close()">取消</view>
					<view class="but_b white_f_32 font_w_bold" >确定</view>
				</view>
			</view>
		</u-popup>
		<u-popup :show="dd_show" :round="10" mode="center" @close="dd_close">
			<view class="tk_tc">
				<view class="black_f_32 font_w_bold bor_b_48">拒绝退款</view>
				<view class="bor_b_48 tk_jj">
					<view class="grey_h_28 mar_b_8">拒绝原因</view>
					<view class="input dis_f_sb_c">
						<u--input placeholder="请填写拒绝原因" border="none" v-model="value1" @change="change"></u--input>
						<u-icon name="scan" color="#00091A" size="18"></u-icon>
					</view>
				</view>
				<view class="dis_f_sb_c">
					<view class="but_a black_s_32 font_w_bold mar_r_16" @click.stop="dd_close()">取消</view>
					<view class="but_b white_f_32 font_w_bold" @click="tijiaos()">确定</view>
				</view>
			</view>
		</u-popup>
		<u-popup :show="tc_show" :round="10" mode="center" @close="tc_close">
			<view class="tk_tc">
				<view class="black_f_32 font_w_bold bor_b_48">{{title}}</view>
				<view class="bor_b_48 blue_f_52">{{tcm}}</view>
				<view class="tc_but white_f_32" @click="tc_show=false">确定</view>
			</view>
		</u-popup>
		<u-popup :show="sc_show" :round="10" mode="center" @close="sc_close">
			<view class="tk_tc">
				<view class="black_f_32 font_w_bold bor_b_48">删除订单</view>
				<view class="grey_h_32 dis_f_c_c bor_b_40">
					确认删除?
				</view>
				<view class="dis_f_sb_c">
					<view class="but_a black_s_32 font_w_bold mar_r_16" @click.stop="sc_close()">取消</view>
					<view class="but_b white_f_32 font_w_bold" @click="delorder">确定</view>
				</view>
			</view>
		</u-popup>
		<u-popup :show="lx_show" :round="20" mode="bottom" @close="lx_close">
			<view class="tk_tc">
				<view class="lt_list dis_f_c grey_h_28" @click.stop="go_view('/pages/news/newList')">在线客服</view>
				<view class="lt_list dis_f_c grey_h_28" @click="bddh()">拨打电话</view>
				<view class="lt_list1 black_f_28" @click.stop="lx_close()">取消</view>
			</view>
		</u-popup>
		<u-popup :show="fh_show" :round="10" mode="center" @close="fh_close">
			<view class="tk_tc">
				<view class="black_f_32 font_w_bold bor_b_48">立即发货</view>
				<view class="bor_b_40">
					<view class="grey_h_28 mar_b_8">物流单号</view>
					<view class="tc_input dis_f_sb_c" >
						<u--input placeholder="请填写物流单号" border="none" v-model="value2"></u--input>
						<u-icon name="scan" color="#00091A" size="22"  @click="scan"></u-icon>
					</view>
				</view>
				<view class="dis_f_sb_c">
					<view class="but_a black_s_32 font_w_bold mar_r_16" @click.stop="fh_close()">取消</view>
					<view class="but_b white_f_32 font_w_bold" @click="fh_showsss()">确定</view>
				</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '',
				tcm: '',
				topList: [{
					name: "商城"
				}, {
					name: "租车"
				}, {
					name: "电池"
				}],
				boList: [[
					{
						text: "全部"
					},
					{
						text: "待发货"
					},
					{
						text: "待收货"
					},
					{
						text: "已完成"
					},
					{
						text: "售后"
					}
				], [
					{
						text: "全部"
					},
					{
						text: "待提车"
					},
					{
						text: "使用中"
					},
					{
						text: "已完成"
					},
					{
						text: "售后"
					}
				], [
					{
						text: "全部"
					},
					{
						text: "待接单"
					},
					{
						text: "待取货"
					},
					{
						text: "配送中"
					},
					{
						text: "已完成"
					},
					{
						text: "售后"
					}
				]],
				active: 0,
				bactive: 0,
				zcList: [{
					text: "待提车",
					time: "租期：2月",
					is_show: true,
					mj_show: true,
					tc_show: true,
					hc_show: false,
					sc_show: false,
					jj_show: false,
					qr_show: false,
					yy_show: false,
					yuanyin: ""
				}, {
					text: "使用中",
					time: "租期：2月 剩余：1月28天",
					is_show: true,
					mj_show: true,
					tc_show: false,
					hc_show: true,
					sc_show: false,
					jj_show: false,
					qr_show: false,
					yy_show: false,
					yuanyin: ""
				}, {
					text: "已超时",
					time: "租期：2月 剩余：1月28天",
					is_show: false,
					mj_show: true,
					tc_show: false,
					hc_show: true,
					sc_show: false,
					jj_show: false,
					qr_show: false,
					yy_show: false,
					yuanyin: ""
				}, {
					text: "已完成",
					time: "租期：2月 剩余：1月28天",
					is_show: true,
					mj_show: false,
					tc_show: false,
					hc_show: false,
					sc_show: true,
					jj_show: false,
					qr_show: false,
					yy_show: false,
					yuanyin: ""
				}, {
					text: "售后中",
					time: "租期：2月 剩余：1月28天",
					is_show: true,
					mj_show: true,
					tc_show: false,
					hc_show: false,
					sc_show: false,
					jj_show: true,
					qr_show: true,
					yy_show: true,
					yuanyin: "车辆损坏"
				}],
				dcList: [{
					time: "20:30",
					sj_show: true,
					text: "待接单",
					dz_show: true,
					pj_show: true,
					sh_show: false,
					ybh_show: true,
					lxsf_show: false,
					lxmj_show: true,
					alxmj_show: false,
					alxsf_show: false,
					scdd_show: false,
					ckpj_show: false,
					jjtk_show: false,
					qrtk_show: false,
				}, {
					time: "20:30",
					sj_show: true,
					text: "待取货",
					dz_show: true,
					pj_show: false,
					sh_show: true,
					ybh_show: false,
					lxsf_show: true,
					lxmj_show: false,
					alxmj_show: true,
					alxsf_show: false,
					scdd_show: false,
					ckpj_show: false,
					jjtk_show: false,
					qrtk_show: false,
				}, {
					time: "20:30",
					sj_show: true,
					text: "配送中",
					dz_show: true,
					pj_show: false,
					sh_show: true,
					ybh_show: false,
					lxsf_show: false,
					lxmj_show: true,
					alxmj_show: false,
					alxsf_show: true,
					scdd_show: false,
					ckpj_show: false,
					jjtk_show: false,
					qrtk_show: false,
				}, {
					time: "",
					sj_show: false,
					text: "已完成",
					dz_show: true,
					pj_show: true,
					sh_show: false,
					ybh_show: false,
					lxsf_show: false,
					lxmj_show: false,
					alxmj_show: false,
					alxsf_show: false,
					scdd_show: true,
					ckpj_show: true,
					jjtk_show: false,
					qrtk_show: false,
				}, {
					time: " ",
					sj_show: false,
					text: "售后中",
					dz_show: false,
					pj_show: false,
					sh_show: false,
					ybh_show: false,
					lxsf_show: false,
					lxmj_show: true,
					alxmj_show: false,
					alxsf_show: false,
					scdd_show: false,
					ckpj_show: false,
					jjtk_show: true,
					qrtk_show: true,
				}],
				tk_show: false,
				jj_show: false,
				dd_show: false,
				tc_show: false,
				sc_show: false,
				lx_show: false,
				fh_show: false,
				value: '',
				value1: '',
				value2: '',

				lists: [],
				page: 1,
				total: 0,
				count: 0,
				status: 'loadmore',
				item: {},
				phone: '',
				ymoney:0.00,
				order_id:0,
				url:''
			}
		},
		onShow() {
			this.url=this.$.ajax_url3
			console.log(this.boList[0]);
			if (!this.$.get_data('token')) {
				this.$.open_new('/pages/mine/login')
				return
			}
			this.page = 1;
			this.get_lists()
		},
		onReachBottom() {
			// if (this.page >= this.total){
			// 	 this.status = 'nomore';
			// 	  return;
			// }
			this.status = 'loading';
			this.page++
			this.get_lists()
		},
		onPullDownRefresh() {
			this.status = 'loading';
			this.page = 1;
			this.lists = [];
			this.get_lists()
		},
		methods: {
            tk_shows(actual_price){
				this.tk_show=true
				this.ymoney=actual_price.actual_price
				this.order_id=actual_price.id
			},
			qrtk(order_id) {
				this.order_id = order_id
				this.tk_show = true
			},
			tijiao() {
				this.$.ajax(1, 'post', 'store/order/agree_to_refund', {
					order_id: this.order_id,
					password: this.value,

				}, (res) => {
					uni.showToast({
						icon: 'none',
						title: res.msg
					})
					this.value = ''
					this.tk_show=false
					this.get_lists()

				})
			},
			tijiaos() {
				this.$.ajax(1, 'post', 'store/order/refusal_to_refund', {
					order_id: this.order_id,
					refusal_to_refund_text: this.value1,
			
				}, (res) => {
					uni.showToast({
						icon: 'none',
						title: res.msg
					})
					this.value = ''
					this.dd_show=false
					this.get_lists()
			
				})
			},
			fh_showsss() {
				this.$.ajax(1, 'post', 'store/order/ship_now', {
					order_id: this.order_id,
					ship_sn: this.value2,
			
				}, (res) => {
					uni.showToast({
						icon: 'none',
						title: res.msg
					})
					this.value = ''
					this.fh_show=false
					this.get_lists()
			
				})
			},
			
			scan(){
				console.log('aaa');
				uni.scanCode({
					onlyFromCamera:true,
					success: function (res) {
							console.log('条码类型：' + res.scanType);
							console.log('条码内容：' + res.result);
						},fail(ews) {
							console.log(ews);
						}
				})
			},
			bddh() {
				uni.makePhoneCall({
					phoneNumber: this.phone
				});

			},
			ti(i) {
				this.title = '提车码'
				console.log('aaa');
				this.tcm = i
				this.tc_show = true
			},
			hu(i) {
				console.log('aaa');
				this.title = '还车码'
				this.tcm = i
				this.tc_show = true
			},
			bdphone(i) {
				this.phone = i
				this.lx_show = true
			},
			del_sub(item) {
				this.sc_show = true
				this.item = item;
			},
			delorder(){
				console.log(this.item);
				this.$.ajax(1, 'post', 'store/order/refusal_to_refund_de', {
					order_id:this.item.id
				}, (res) => {
				this.sc_show = false
					this.get_lists()
				
				})
			},
			get_lists() {
				this.$.ajax(1, 'post', 'store/order/store_order_list', {
					product_type: this.active,
					status: this.bactive,
					page: this.page,
					pagesize: 10,
				}, (res) => {

					if (this.page == 1) {
						this.lists = res.data
						// console.log(this.active)
					} else {
						this.lists = this.lists.concat(res.data)
					}

				})
			},
			dianji(index) {
				this.active = index
				this.page = 1;
				this.lists = [];
				this.get_lists()
			},
			dianji2(index) {
				this.bactive = index
				console.log(this.bactive);
				this.page = 1;
				this.lists = [];
				this.get_lists()
			},
			go_view(url) {
				uni.navigateTo({
					url: url
				})
			},
			tk_close() {
				this.tk_show = false
				// console.log('close');
			},
			jj_close() {
				this.jj_show = false
				// console.log('close');
			},
			dd_close() {
				this.dd_show = false
				// console.log('close');
			},
			tc_close() {
				this.tc_show = false
				// console.log('close');
			},
			sc_close() {
				this.sc_show = false
				// console.log('close');
			},
			lx_close() {
				this.lx_show = false
				// console.log('close');
			},
			fh_close() {
				this.fh_show = false
				// console.log('close');
			},
			change(e) {
				console.log('change', e);
			},
			ckwl(i) {
				// console.log(123456)
				uni.navigateTo({
					url: '/pages-1/sc_dd/wl_xq?id='+i
				})
				

			},
			go_next(i) {
				if (this.bactive == 1) {
					// uni.navigateTo({
					// 	url: '/pages-1/sc_dd/sp_wl' 
					// })
				}
				if (this.bactive == 2) {
					// uni.navigateTo({
					// 	url: '/pages-1/sc_dd/d_sh'
					// })
				}
				if (this.bactive == 3) {
					// uni.navigateTo({
					// 	url: '/pages-1/sc_dd/y_wc'
					// })
				}
				if (this.bactive == 4) {
					// uni.navigateTo({
					// 	url: '/pages-1/sc_dd/sc_hf'
					// })
				}
			},
			go_next2(i) {
				if (i.rider_status == 0||i.rider_status == 1 || i.rider_status == 2 || i.rider_status == 3|| i.rider_status == 4) {
					uni.navigateTo({
						url: '/pages-1/zc_dd/y_fk?id=' + i.id
					})
				}
				// if (this.bactive == 2) {
				// 	uni.navigateTo({
				// 		url: '/pages-1/zc_dd/s_yz?id='+i.id
				// 	})
				// }
				// if (this.bactive == 3) {
				// 	uni.navigateTo({
				// 		url: '/pages-1/zc_dd/y_wc?id='+i.id
				// 	})
				// }
				if (i.rider_status == 5) {
					uni.navigateTo({
						url: '/pages-1/zc_dd/sh_cl?id=' + i.id
					})
				}
			},
			go_next3(i) {
				console.log(this.bactive, 'this.bactive');
				// uni.navigateTo({
				// 	url: '/pages-1/dc_dd/dc_sh?id='+ i.id
				// })
				// return
				if (this.bactive == 0) {
					uni.navigateTo({
						url: '/pages-1/sc_dd/d_sh?id=' + i.id
					})
				}
				// if (this.bactive == 1) {
				// 	uni.navigateTo({
				// 		url: '/pages-1/dc_dd/y_fk?id=' + i.id
				// 	})
				// }
				// if (this.bactive == 2) {
				// 	uni.navigateTo({
				// 		url: '/pages-1/dc_dd/dc_sh?id=' + i.id
				// 	})
				// }
				if (this.bactive == 3) {
					uni.navigateTo({
						url: '/pages-1/dc_dd/y_wc?id=' + i.id
					})
				}
				if (this.bactive == 4) {
					uni.navigateTo({
						url: '/pages-1/zc_dd/sh_cl?id=' + i.id
					})
				}
			}
		}
	}
</script>

<style lang="scss">
	.conner {
		padding: 0 32rpx;
	}

	.gd_top {
		width: 750rpx;
		height: 252rpx;
		background-color: #F7FAFF;
		position: fixed;
		top: 0;
		left: 32rpx;
		// z-index: 99999;
	}

	.top_ist {
		height: 88rpx;
		display: flex;
		align-items: center;

		.t_img {
			width: 40rpx;
			height: 40rpx;
			margin-left: 24rpx;
		}

		.top_list_r {
			width: 280rpx;
			height: 68rpx;
			background: #F7F7F7;
			border-radius: 8rpx 8rpx 8rpx 8rpx;
			display: flex;
			justify-content: space-around;
			align-items: center;
			// margin-left: 32rpx;

			.top_r_c {
				width: 88rpx;
				height: 52rpx;
				border-radius: 8rpx 8rpx 8rpx 8rpx;
				text-align: center;
				line-height: 52rpx;
			}

			.top_r_er {
				width: 88rpx;
				height: 52rpx;
				background-color: #fff;
				border-radius: 8rpx 8rpx 8rpx 8rpx;
				text-align: center;
				line-height: 52rpx;
			}
		}
	}

	.title {
		height: 76rpx;
		display: flex;
		align-items: center;
		margin-top: 80rpx;
	}
	.bottom {
		margin-top: 276rpx;
		min-height: 75vh;

		.bo_a {
			.boa_img {
				width: 200rpx;
				height: 200rpx;
				border-radius: 16rpx;
			}

			.bo_a_b {
				width: 414rpx;
				height: 200rpx;
				display: flex;
				flex-direction: column;
				justify-content: space-between;

				.bo_a_text {
					width: 358rpx;
				}
			}
		}

		.bo_d {
			width: 590rpx;
			padding: 24rpx;
			border-radius: 20rpx;
			background-color: #F7F7F7;
		}
	}

	.tk_tc {
		padding: 40rpx 32rpx;
		display: flex;
		flex-direction: column;
		align-items: center;

		.but_a {
			width: 298rpx;
			height: 100rpx;
			background: #F7F7F7;
			border-radius: 16rpx 16rpx 16rpx 16rpx;
			text-align: center;
			line-height: 100rpx;
		}

		.but_b {
			width: 298rpx;
			height: 100rpx;
			background: #3377FF;
			border-radius: 16rpx 16rpx 16rpx 16rpx;
			text-align: center;
			line-height: 100rpx;
		}

		.tk_jj {
			width: 622rpx;

			.input {
				background-color: #F7F7F7;
				width: 574rpx;
				// height: 92rpx;
				padding: 24rpx;
				border-radius: 16rpx;
			}
		}

		.tc_but {
			width: 622rpx;
			height: 100rpx;
			background: #3377FF;
			border-radius: 16rpx 16rpx 16rpx 16rpx;
			text-align: center;
			line-height: 100rpx;
		}
	}

	.tc_input {
		width: 598rpx;
		padding: 24rpx;
		background-color: #F7F7F7;
		border-radius: 16rpx;
	}

	.lt_list {
		width: 686rpx;
		padding-bottom: 20rpx;
		border-bottom: 2rpx solid #F7FAFF;
		margin-bottom: 40rpx;
	}

	.lt_list:last-child {
		border-bottom: none;
		margin-bottom: 0rpx;
	}

	.lt_list1 {
		width: 600rpx;
		height: 80rpx;
		text-align: center;
		line-height: 80rpx;
		border-radius: 16rpx;
		background-color: #F7F7F7;
	}
</style>